package com.wanmait.movies.vo;

import java.sql.Timestamp;

import java.util.ArrayList;


public class Movie {//电影
	private  int id;
    private  String movieName;//电影名字
    private  int movieTime;//电影时长
    private  MovieType movieTypeId;//电影种类id
	private  Timestamp movieShowtime;//上映时间
	private  MovieCountry movieCountryId;//上映地区的id
	private  boolean movieShow;//是否热映
	private  String movieIntroduction;//电影简介
	private  String movieImage;//电影缩略图
	private  MovieLanguage movieLanguageId;//电影上映语言id
	private  double movieGrades;//电影分数

	private  String moviePoster;
	private int pageNo;
	private int pageSize;
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = (pageNo-1)*pageSize;;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPagerow() {
		return pagerow;
	}
	public void setPagerow(int pagerow) {
		this.pagerow =  pagerow/pageSize;
		if(pagerow%pageSize!=0) {
			pagerow++;
		}
	}
	private int pagerow;

	private  int movieSumClick;
	 
	public int getMovieSumClick() {
		return movieSumClick;
	}
	public void setMovieSumClick(int movieSumClick) {
		this.movieSumClick = movieSumClick;
	}
	public String getMoviePoster() {
		return moviePoster;
	}

	private  Maneger manegerid;
	private ArrayList<Actor> actorList;
	private ArrayList<Director> directorList;
	
	public ArrayList<Actor> getActorList() {
		return actorList;
	}
	public void setActorList(ArrayList<Actor> actorList) {
		this.actorList = actorList;
	}
	public ArrayList<Director> getDirectorList() {
		return directorList;
	}
	public void setDirectorList(ArrayList<Director> directorList) {
		this.directorList = directorList;
	}
	public Maneger getManegerid() {
		return manegerid;

	}
	public void setManegerid(Maneger manegerid) {
		this.manegerid = manegerid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMovieName() {
		return movieName;
	}
	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}
	public int getMovieTime() {
		return movieTime;
	}
	public void setMovieTime(int movieTime) {
		this.movieTime = movieTime;
	}
	public MovieType getMovieTypeId() {
		return movieTypeId;
	}
	public void setMovieTypeId(MovieType movieTypeId) {
		this.movieTypeId = movieTypeId;
	}
	public Timestamp getMovieShowtime() {
		return movieShowtime;
	}
	public void setMovieShowtime(Timestamp ts) {
		this.movieShowtime = ts;
	}
	public MovieCountry getMovieCountryId() {
		return movieCountryId;
	}
	public void setMovieCountryId(MovieCountry movieCountryId) {
		this.movieCountryId = movieCountryId;
	}
	public boolean isMovieShow() {
		return movieShow;
	}
	public void setMovieShow(boolean movieShow) {
		this.movieShow = movieShow;
	}
	public String getMovieIntroduction() {
		return movieIntroduction;
	}
	public void setMovieIntroduction(String movieIntroduction) {
		this.movieIntroduction = movieIntroduction;
	}
	public String getMovieImage() {
		return movieImage;
	}
	public void setMovieImage(String movieImage) {
		this.movieImage = movieImage;
	}
	public MovieLanguage getMovieLanguageId() {
		return movieLanguageId;
	}
	public void setMovieLanguageId(MovieLanguage movieLanguageId) {
		this.movieLanguageId = movieLanguageId;
	}
	public double getMovieGrades() {
		return movieGrades;
	}
	public void setMovieGrades(double movieGrades) {
		this.movieGrades = movieGrades;
	}
	
	public void setMoviePoster(String moviePoster) {
		this.moviePoster = moviePoster;
	}

	
	
}
